//
//  NRLSVMTViewController.h
//  NaRiLSVMT
//
//  Created by jmsre on 14-8-8.
//  Copyright (c) 2014年 helloyouth.org. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NRLSVMTSubjectViewController.h"
#import "TcpClient.h"
#import "ITcpClient.h"

@interface NRLSVMTViewController : UIViewController
//<
//    ITcpClient,
//    UIAlertViewDelegate
//>


@property   (strong,nonatomic)  NRLSVMTSubjectViewController *subjectViewController;


@property (weak, nonatomic) IBOutlet UIView *loginFirstView;
@property (weak, nonatomic) IBOutlet UIImageView *loginFirstImageView;


@property (weak, nonatomic) IBOutlet UIView *topInFirstView;
@property (weak, nonatomic) IBOutlet UIButton *setupInTopButton;


@property (weak, nonatomic) IBOutlet UIView *usernameView;

@property (weak, nonatomic) IBOutlet UIView *passwordView;

@property (weak, nonatomic) IBOutlet UIButton *loginButton;


@property (weak, nonatomic) IBOutlet UILabel *uuidLab;

@property (weak, nonatomic) IBOutlet UITextField *userNameText;

@property (weak, nonatomic) IBOutlet UITextField *userPassword;


- (IBAction)jumpToMainUI:(id)sender;//登录按钮

- (IBAction)setupInTopAction:(id)sender;//设置按钮

//md5 加密:
-(NSString *)md5_base64:(NSString *)str;


//用于写用户名和密码缓存:
Strong NSFileManager   *dLoginInfofm;
Strong NSString    *dLoginInfopath;
Assign  BOOL    reInputName;//是否进行了重新输入用户名和密码
Strong  NSFileManager   *dLoginInfo_PassWordfm;
Strong  NSString    *dLoginInfo_PassWordpath;
/********************************************************/

//背景响应键盘按钮:
@property (weak, nonatomic) IBOutlet UIButton *topButton;
@property (weak, nonatomic) IBOutlet UIButton *leftButton;
@property (weak, nonatomic) IBOutlet UIButton *rightButton;
- (IBAction)topButAction:(id)sender;
- (IBAction)leftButAction:(id)sender;
- (IBAction)rightButAction:(id)sender;
-(void)deviceisRegister:(NSInteger)flag;
-(void)testUuidlaw;



@end
